// 员工合同签署记录
import request from "@/utils/https/requests";

// 列表
export function menHtRecordList(data: any) {
    return request({
        url: "/menHtRecord/list", method: "post", data,
    });
}

// 添加
export function postAddMenHtRecord(data: any) {
    return request({
        url: "/menHtRecord/postAdd", method: "post", data,
    });
}

// 修改
export function postModMenHtRecord(data: any) {
    return request({
        url: `/menHtRecord/postMod/{${data.id}`, method: "post", data,
    });
}

// 删除
export function postDeleteMenHtRecord(id: string) {
    return request({
        url: `/menHtRecord/postDelete/${id}`, method: "post",
    });
}

// 逻辑 删除
export const postLogicDeleteMenHtRecord = (id) => {
    return request({
        url: `/menHtRecord/postLogicDelete/${id}`, method: 'post'
    })
}

// 详情
export function menHtRecordDetail(id: string) {
    return request({
        url: `/menHtRecord/detail/${id}`, method: "post",
    });
}